import React,{ Component } from 'react';

import actionCreators from 'store/tuan1/actionCreators'
import getStore from 'utils/get_store'
import List from '../list/List';


class Acc extends Component{

    componentDidMount(){
        this.props.getData('acc');
    }

    render () {
        return (
            <List data = { this.props.data && this.props.data}></List>
        )
    }


    componentDidUpdate(){
        // console.log(this.props.data);
    }


}

export default getStore({
    actionCreators,
    UIComponent: Acc,
    type: 'tuan1'
  });